<?php 
	
	$id = $_GET['id'];
	
	$shujuku = include './db.php';

	array_splice($shujuku,$id,1); 

	// var_dump($shujuku);


	$str = var_export($shujuku,ture);  //不懂

	$str = "<?php return ".$str." ?>";

	file_put_contents('./db.php', $str);

	header("location:./index.php")


 ?>

